﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
    @*<link href="~/Lib/select2-4.0.3/dist/css/select2.css" rel="stylesheet" />*@
}
<div class="layui-form layui-row  childrenBody" id="add-form" style="width:95%;">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">按钮名称：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input " lay-verify="required" name="sName" placeholder="请输入名称">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">按钮风格：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sClass" placeholder="请输入按钮Class">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">按钮标签：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sIcon" placeholder="请输入按钮Icon">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">按钮编码：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sId" placeholder="请输入按钮Id">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">授权码：</label>
        <div class="layui-input-block">
            <select lay-verify="required" name="sAuthorizationCode" id="sAuthorizationCode">
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="iSort" placeholder="请输入排序">
        </div>
    </div>
    <div class="layer-footer">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addButton">立即添加</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
{
    @*<script src="~/Lib/select2-4.0.3/dist/js/select2.min.js"></script>*@
    <script src="~/Areas/Authority/js/buttons.add.js"></script>
}
